package com.iams.manage.service;


import com.iams.manage.domain.workflow.DestroyRecord;
import com.iams.manage.domain.workflow.dto.DestroyRecordDTO;

import java.util.List;

/**
 * 档案销毁Service接口
 *
 * @author LiuTao
 * @date 2025-03-18
 */
public interface IDestroyRecordService {

    /**
     * 查询档案销毁
     *
     * @param id 档案销毁主键
     * @return 档案销毁
     */
    public DestroyRecordDTO selectDestroyRecordById(Long id);

    /**
     * 查询档案销毁列表
     *
     * @param archiveDestroy 档案销毁
     * @return 档案销毁集合
     */
    public List<DestroyRecordDTO> selectDestroyRecordList(DestroyRecord archiveDestroy);

    /**
     * 新增档案销毁
     *
     * @param archiveDestroyDTO 档案销毁
     * @return 结果
     */
    public int insertDestroyRecord(DestroyRecordDTO archiveDestroyDTO);

    /**
     * 修改档案销毁
     *
     * @param archiveDestroy 档案销毁
     * @return 结果
     */
    public void updateDestroyRecord(DestroyRecord archiveDestroy);

    public int updateDestroyRecord(DestroyRecordDTO archiveDestroyDTO);

    /**
     * 批量删除档案销毁
     *
     * @param ids 需要删除的档案销毁主键集合
     * @return 结果
     */
    public int deleteDestroyRecordByIds(Long[] ids);

    /**
     * 删除档案销毁信息
     *
     * @param id 档案销毁主键
     * @return 结果
     */
    public int deleteDestroyRecordById(Long id);


    public DestroyRecord selectDestroyRecordByBusinessKey(String businessKey);
}
